﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Styles/FinalMasterPage.master" AutoEventWireup="true" CodeFile="Companies.aspx.cs" Inherits="Companies" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <div align="center">
  
  <h2 style= "background-color:#393939;" >
                <asp:Label ID="Label1" runat="server" Text="Companies" ForeColor="White"></asp:Label>
			
			</h2>
  
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
          BorderStyle="None" CellSpacing="6" EnableViewState="False" Font-Size="Medium" 
          ForeColor="Blue" GridLines="None" ShowHeader="False">
        <RowStyle ForeColor="Blue" />
    <Columns>
        <asp:BoundField DataField="cmp_id" HeaderText="Id" Visible="False" />
        <asp:HyperLinkField DataNavigateUrlFields="cmp_id" 
            DataNavigateUrlFormatString="Products.aspx?cmp_id={0}" 
            DataTextField="company_name" HeaderText="COMPANIES" >
        <ControlStyle ForeColor="Blue" />
        <ItemStyle ForeColor="Blue" />
        </asp:HyperLinkField>
    </Columns>
        <HeaderStyle BackColor="Black" BorderStyle="Solid" BorderWidth="1px" 
            Font-Bold="True" Font-Underline="False" ForeColor="White" />
    </asp:GridView>
</div>
</asp:Content>

